package com.dreem.flyweight;

/**
 * @program: DesignParrtern
 * @description: 网站抽象类
 * @author: Peng
 * @create: 2021-02-24  19:15
 **/
public abstract class WebSite {
    private String type;

    public WebSite(String type){
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public abstract void use(User user);
}
